<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\App
 *
 * @property int $id
 * @property string|null $appid
 * @property string|null $secret
 * @property string|null $name
 * @property string|null $version
 * @property string|null $url
 * @property string|null $state
 * @property string|null $access_token
 * @property string|null $expires_in
 * @property int $views
 * @property mixed $created_at
 * @property mixed $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereAccessToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereAppid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereExpiresIn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereSecret($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereVersion($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\App whereViews($value)
 * @mixin \Eloquent
 */
class App extends Model
{
    protected $table = 'app';
    protected $primaryKey = 'id';
    protected $guarded = [];
    protected $dateFormat = 'U';
    protected $casts = [
        'created_at'=>'datetime:Y-m-d H:i:s',
        'updated_at'=>'datetime:Y-m-d H:i:s',
    ];
}
